home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3tbar.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  2.2 KB  |  93 lines

  1.  
  2. // JavaScript wrapper for r3tbar.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_TOOLBAR_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_TOOLBAR = 887;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3TBA_ToolFrameWindow = 887500;
  19. function GetR3TBA_ToolFrameWindow() {
  20.   return R3ToJS(R3Get(this.r3obj, R3TBA_ToolFrameWindow, R3TID_OBJECT, 0)); 
  21. }
  22.  
  23. R3TBA_Active = 887503;
  24. function SetR3TBA_Active(value) {
  25.   R3Set(this.r3obj, R3TBA_Active, value, R3TID_INTEGER, 0); 
  26. }
  27.  
  28. function GetR3TBA_Active() {
  29.   return R3Get(this.r3obj, R3TBA_Active, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. R3TBA_Scrolled = 887504;
  33. function SetR3TBA_Scrolled(value) {
  34.   R3Set(this.r3obj, R3TBA_Scrolled, value, R3TID_BOOLEAN, 0); 
  35. }
  36.  
  37. function GetR3TBA_Scrolled() {
  38.   return R3Get(this.r3obj, R3TBA_Scrolled, R3TID_BOOLEAN, 0); 
  39. }
  40.  
  41. R3TBA_ControlId = 887505;
  42. function GetR3TBA_ControlId() {
  43.   return R3Get(this.r3obj, R3TBA_ControlId, R3TID_INTEGER, 0); 
  44. }
  45.  
  46. R3TBA_StatusId = 887506;
  47. function GetR3TBA_StatusId() {
  48.   return R3Get(this.r3obj, R3TBA_StatusId, R3TID_INTEGER, 0); 
  49. }
  50.  
  51. R3TBA_ShowLabels = 887508;
  52. function SetR3TBA_ShowLabels(value) {
  53.   R3Set(this.r3obj, R3TBA_ShowLabels, value, R3TID_BOOLEAN, 0); 
  54. }
  55.  
  56. function GetR3TBA_ShowLabels() {
  57.   return R3Get(this.r3obj, R3TBA_ShowLabels, R3TID_BOOLEAN, 0); 
  58. }
  59.  
  60. R3TBA_ShowFrame = 887509;
  61. function SetR3TBA_ShowFrame(value) {
  62.   R3Set(this.r3obj, R3TBA_ShowFrame, value, R3TID_BOOLEAN, 0); 
  63. }
  64.  
  65. function GetR3TBA_ShowFrame() {
  66.   return R3Get(this.r3obj, R3TBA_ShowFrame, R3TID_BOOLEAN, 0); 
  67. }
  68.  
  69.  
  70.  
  71. function r3Toolbar () { 
  72.    this.base = r3God;
  73.    if(arguments.length) {
  74.       this.base(R3CLID_TOOLBAR, arguments);
  75.    }
  76.    // Methods
  77.  
  78.    // Attributes
  79.    this.GetToolFrameWindow=GetR3TBA_ToolFrameWindow;
  80.    this.GetActive=GetR3TBA_Active;
  81.    this.SetActive=SetR3TBA_Active;
  82.    this.GetScrolled=GetR3TBA_Scrolled;
  83.    this.SetScrolled=SetR3TBA_Scrolled;
  84.    this.GetControlId=GetR3TBA_ControlId;
  85.    this.GetStatusId=GetR3TBA_StatusId;
  86.    this.GetShowLabels=GetR3TBA_ShowLabels;
  87.    this.SetShowLabels=SetR3TBA_ShowLabels;
  88.    this.GetShowFrame=GetR3TBA_ShowFrame;
  89.    this.SetShowFrame=SetR3TBA_ShowFrame;
  90. }
  91.  
  92. r3Toolbar.prototype=new r3Window;
  93. // r3tbar.h_H